home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
4dostool
/
bkup10.zip
/
BK-HLP.BTM
< prev
next >
Wrap
Text File
|
1994-05-05
|
6KB
|
161 lines
:: BK-HLP.BTM
:: A HELP file for BKUP.BTM.
if "%1"=="name_text" goto name_text
if %@index[%1,i] ge 0 goto help_i
:help
cls
screen 2 0
text
BKUP.BTM
(1) Creates a compressed archive for [a] all or part of the files saved
today, or [b] since a specified number of days back, or
[c] since a specified date.
(2) (With the -x switch:) Extracts the archive(s).
All default parameters for BKUP are configurable in BKUP.INI. However,
most parameters can be overridden from the command line. Aliases with
parameters different from the defaults is another way to avoid making
changes to any of the files in the BKUP package.
When run with the -x switch, a selection screen will allow marking
files for extraction (with spacebar), or "point and shoot" (by putting
the cursor on the desired file and pressing ENTER).
BKUP uses by default Katz's PKZIP/PKUNZIP, but can be told to use
ZIP/UNZIP, or UC2 (UltraComprtessor II) instead. There are, however,
still unresolved small problems with both ZIP/UNZIP and UC2. See
BKUP.DOC for more details.
--> BKUP h (or ?) displays HELP screens. 'i' - USAGE screen.
--> Press now any key for USAGE instructions.
endtext
pause >nul
:help_i
cls
text
USAGE for ARCHIVING:
BKUP [<search_drive:> <archive_drive:>] [parameters] [options]
<search_drive:> is the drive which should be searched for files
<archive_drive:> is the drive where the archive should be created
Parameters are: [ n|-sMM-DD-YY ]
'n' stands for 'number of days back from today'. For example, 'BKUP 3'
will create a list since three days back from today's date.
's' (or /s or -s) stands for 'since', followed by date, in the
MM-DD-YY (month-day-year) format. For example: BKUP s01-29-90 will
create a list for files created since 29 January 1990.
Options are: [ /pkzip|/zip|/uc ] [ /x file(s) file(s) ...]
'/pkz' select Katz's PKZIP and PKUNZIP (Default)
'/zip' select free ZIP and UNZIP
'/uc' select UC2 (UltraCompressor II)
'/x file(s) ...' list of file(s) for exclusion
endtext
inkey /K"ND[ESC][Enter]" ==`>` Press :n ENTER - for instructions on EXTRACTING archivesn N - for reading on giving your computer a namen D - for default parameters and examples n ESC - quit %%rep
if %rep == %@char[27] cancel
if %rep == @28 goto extract_h
if %rep == D goto defaults_text
if %rep == N goto name_text
:extract_h
cls
screen 3 0
text
USAGE for EXTRACTING archives:
BKUP -x|/x|x [<toupdate_drive:> <archive_drive:>] [options]
where
<toupdate_drive:> is the drive to extract TO.
<archive_drive:> is the drive to extract FROM.
If no drives specified, defaults are default drive ("to")
and B: ("from")
Options are: [ /pkz|/zip|/uc ] [ /x file(s) file(s) ...]
'/pkz' select Katz's PKZIP and PKUNZIP (Default)
'/zip' select free ZIP and UNZIP
'/uc' select UC2 (UltraCompressor II)
'/x file(s) ...' list of file(s) not to be extracted
For full description read BKUP.DOC.
endtext
inkey /K"YND[ESC] [Enter]" ==`>` About "name giving" press ENTER; D for defaults and examples;n ESC to quit. %%rep
if %rep == %@char[27] cancel
if %rep == @57 .or. %rep == @28 goto name_text
if %rep == D goto defaults_text
:name_text
cls
screen 2 0
text
COMPUTER "NAMES"
================
BKUP is set to use the labels of your "search disk" and "extract disk"
(both of which would normally be your default drives) as "names" for
your computer. This makes it possible to know which of your computers
has/have been updated, and to which computers the archive has been
extracted (if there are more than one archive, BKUP will add all of
their names when the archive was extracted).
You can change this default by entering a different name for your
computer at the 'compuname=' line in BKUP.INI.
If your default drive has been given no label, BKUP will prompt you
to give your computer a temporary name for the current session. You
can make this "name" permanent by labeling your hard disk or typing
a name at the 'compuname=' line in BKUP.INI.
endtext
if .%compu=.on (pause^quit)
:: (return to bk-prams)
inkey /K"YN[ESC][Enter]" ==`>` Press Enter to continue; ESC to quit %%rep
iff %rep == %@char[27] then cancel
elseiff %rep == @28 then goto defaults_text >&>nul
endiff
:defaults_text
cls
screen 1 0
text
BKUP "BUILT-IN" DEFAULTS
========================
If BKUP is run without any parameters and options, it will use
the defaults defined in BKUP.INI. If BKUP.INI is missing,
BKUP will use its "internal" defaults.
The PRIMARY defaults (for both compressing and extracting) are:
(1) Disk from which files will be compressed - default drive
(2) Drive where archive will be created - B:
(3) Disk to which files will be extracted - default drive
(4) Drive where archive will be looked for - B:
(5) Compression and extraction programs: - PKZIP and PKUNZIP
(6) Date for files to be updated: - today
(7) Exclude files: - *.zip *.bak *.tmp *.log
Therefore, if you just type "BKUP", this is equal to typing:
(compressing:) BKUP c: b: 0 /pkzip /x *.zip *.bak *.tmp *.log
(extracting:) BKUP -x c: b: 0 /pkzip /x *.zip *.bak *.tmp *.log
For an explanation of SECONDARY defaults see BKUP.DOC.
endtext
:help_p
inkey /K"HP[ESC][Enter]" ==`>` Press Enter or ESC to quit, H for first HELP screen %%rep
iff %rep == %@char[27] .or. %rep == @28 then cancel
elseiff %rep == H then goto help
endiff
:: =====end HELP====